package com.studio701.carguard.service;

import com.studio701.carguard.pojo.CarManagement;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xjc
 * @since 2022-03-29
 */
public interface ICarManagementService extends IService<CarManagement> {

    boolean removeCarByUserIdAndCId(Integer userId, Integer cId);

    boolean updateByUserIdAndCId(CarManagement carManagement);

    CarManagement getCarByUserIdAndCId(Integer userId, Integer cId);
}
